package com.kayt.cyberBar.cuser.business.entity.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * BOrganizationGroupOrg entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "b_organization_group_org")
public class BOrganizationGroupOrg implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4596081638896436626L;
	// Fields

	private Long id;
	private String orgCode;
	private String groupCode;
	private String groupName;
	private String createTime;
	private String updateTime;
	private String statusCode;

	// Constructors

	/** default constructor */
	public BOrganizationGroupOrg() {
	}

	/** full constructor */
	public BOrganizationGroupOrg(String orgCode, String groupCode,
			String groupName, String createTime, String updateTime,
			String statusCode) {
		this.orgCode = orgCode;
		this.groupCode = groupCode;
		this.groupName = groupName;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.statusCode = statusCode;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "ID", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "ORG_CODE", length = 64)
	public String getOrgCode() {
		return this.orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	@Column(name = "GROUP_CODE", length = 64)
	public String getGroupCode() {
		return this.groupCode;
	}

	public void setGroupCode(String groupCode) {
		this.groupCode = groupCode;
	}

	@Column(name = "GROUP_NAME", length = 64)
	public String getGroupName() {
		return this.groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	@Column(name = "CREATE_TIME", length = 64)
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Column(name = "UPDATE_TIME", length = 64)
	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "STATUS_CODE", length = 64)
	public String getStatusCode() {
		return this.statusCode;
	}

	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}

}